package itheima.zuoye.test7;

public class Java extends Teacher {
    public Java(String name, String sex, int age) {
        super(name, sex, age);
    }

    @Override
    public void work() {
        System.out.println(toString()+"授课java");

    }
}
